package com.bgrc.hubu12305.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bgrc.hubu12305.dao.ParkingStationDao;
import com.bgrc.hubu12305.entity.ParkingStationEntity;
import com.bgrc.hubu12305.service.ParkingStationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 包名:com.bgrc.hubu12305.service.impl
 * 用户:86182
 * 时间:20211217:062021/12/17
 */
@Service
public class ParkingStationServiceImpl extends ServiceImpl<ParkingStationDao, ParkingStationEntity> implements ParkingStationService {
    @Autowired
    private ParkingStationDao parkingStationDao;
    @Override
    public Integer isExist(String trainNo,String stationNo) {
        Integer exist = parkingStationDao.isExist(trainNo, stationNo);
        return exist;
    }
}
